projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfa2e4a
)
* lisp/autorevert.el (auto-revert-handler): Use vc-refresh-state.
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 28 Oct 2015 18:00:59 +0000
(14:00 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 28 Oct 2015 18:00:59 +0000
(14:00 -0400)
lisp/autorevert.el
patch
|
blob
|
history
diff --git
a/lisp/autorevert.el
b/lisp/autorevert.el
index f0c12d2d97e1fa9ba23fae73ebf9eee35081f234..18b8161f1dba110ee0f8865ae3a09812ac0caeb1 100644
(file)
--- a/
lisp/autorevert.el
+++ b/
lisp/autorevert.el
@@
-688,7
+688,7
@@
This is an internal function used by Auto-Revert Mode."
;; `preserve-modes' avoids changing the (minor) modes. But we do
;; want to reset the mode for VC, so we do it manually.
(when (or revert auto-revert-check-vc-info)
- (vc-
find-file-hook
))))
+ (vc-
refresh-state
))))
(defun auto-revert-tail-handler (size)
(let ((modified (buffer-modified-p))